- The Log-Structured Merge-Tree (LSM-Tree)
- B-Tree vs Log-Structured Merge-Tree
- Modern B-tree techniques
- LSM-based Storage Techniques: A Survey
- B-tree Indexes and CPU Caches by Goetz Graefe and Per-Åke Larson
# curl -Lk https://gist.githubusercontent.com/prabirshrestha/279d8b179d9353fe8694/raw/.bash_profile -o ~/.bash_profile | |
[[ -s ~/.nvm/nvm.sh ]] && . ~/.nvm/nvm.sh # This loads NVM | |
export PATH="$HOME/.cargo/bin:$HOME/go/bin:$HOME/Library/Python/3.7/bin:$PATH" | |
export PATH="$HOME/.config/nvim/plugins/vim-themis/bin:$PATH" | |
stty -ixon | |
alias pbcopy='xsel --clipboard --input' | |
alias pbpaste='xsel --clipboard --output' |
# CLI | |
sudo apt update -y | |
sudo apt install -y \ | |
git curl btop \ | |
docker.io docker-buildx \ | |
build-essential pkg-config autoconf bison rustc cargo clang \ | |
libssl-dev libreadline-dev zlib1g-dev libyaml-dev libreadline-dev libncurses5-dev libffi-dev libgdbm-dev libjemalloc2 \ | |
libvips imagemagick libmagickwand-dev mupdf mupdf-tools \ | |
redis-tools sqlite3 libsqlite3-0 libmysqlclient-dev \ | |
rbenv apache2-utils |
module Main where | |
import qualified Data.ByteString as B | |
import qualified Data.ByteString.Lazy as BL | |
import Data.Binary.Strict.Get | |
import qualified Data.Binary.Strict.BitGet as BG | |
import Data.Word | |
import Control.Monad | |
import Control.Applicative | |
import Data.Binary.Put |
Author: Chris Lattner
# coding=utf-8 | |
# Copyright 2023 Mixtral AI and the HuggingFace Inc. team. All rights reserved. | |
# | |
# This code is based on EleutherAI's GPT-NeoX library and the GPT-NeoX | |
# and OPT implementations in this library. It has been modified from its | |
# original forms to accommodate minor architectural differences compared | |
# to GPT-NeoX and OPT used by the Meta AI team that trained the model. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. |
/* | |
* interpreter.ino: Simple Arduino command line interpreter. | |
* | |
* This is intended solely as a template for building richer, | |
* application-specific interpreters. Add your specific commands to the | |
* exec() function, and whatever you need to setup() and loop(). | |
* | |
* Usage: | |
* Talk to it through the serial port at 9600/8N1. Commands should be | |
* terminated by CR (\r), answers are terminated by CRLF (\r\n). This |
Use apt to install the necessary packages:
sudo apt install -y slurm-wlm slurm-wlm-doc
Load file:///usr/share/doc/slurm-wlm/html/configurator.html in a browser (or file://wsl%24/Ubuntu/usr/share/doc/slurm-wlm/html/configurator.html on WSL2), and:
SlurmctldHost
and NodeName
.CPUs
as appropriate, and optionally Sockets
, CoresPerSocket
, and ThreadsPerCore
. Use command lscpu
to find what you have.RealMemory
to the number of megabytes you want to allocate to Slurm jobs,StateSaveLocation
to /var/spool/slurm-llnl
.ProctrackType
to linuxproc
because processes are less likely to escape Slurm control on a single machine config.This page has been updated a lot in the past 3 years. Older revisions you might like more than this one:
Additional Resources